Java View all facts Glossary Help |
type > primitive type > integral type > integer^2 > int^2 |
int^2 | ||||
subject | fact |
int^2 | can hold a value between -2,147,483,648 and 2,147,483,647 | |
can use basic arithmetic operators +, -, *, / and % | ||
is a subtopic of Variables and Data Types | ||
is an instance of integer^2 | ||
requires 32 bits | ||
see also int | ||
see also int^3 | ||
see also Integer class | ||
integer^2 | has a sign indicating positive or negative | |
has default value 0 | ||
primitive type | evaluates to the value stored in the variable | |
has part primitive type name | ||
is not an object | ||
is normally used instead of wrapper class instances for arithmetic | ||
type | limits the possible values that a variable can hold or that an expression can produce at run time | |
specifies a set of value |
Next integer^2: long^2 Up: integer^2 Previous integer^2: byte^2